Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /


Figures and Listings

Chapter 1 Overview 1-1

Figure 1-1 QuickTime components for movie playback 1-5

Figure 1-2 QuickTime components for image capture 1-7

Figure 1-3 QuickTime components for compressing still images 1-9

Figure 1-4 QuickTime components for decompressing still images 1-10

Chapter 2 Movie Controller Components 2-1

Figure 2-1 The standard movie controller 2-5

Figure 2-2 A movie with a badge 2-6

Figure 2-3 Movie controller spatial elements for attached controllers 2-7

Figure 2-4 Movie controller spatial elements for detached controllers 2-8

Figure 2-5 Clipping the controller window region with the controller clipping region 2-9

Listing 2-1 Playing a movie with a movie controller component 2-10

Listing 2-2 Using a movie controller filter function 2-13

Chapter 3 Standard Image-Compression Dialog Components 3-1

Figure 3-1 Dialog box for single-frame compression 3-4

Figure 3-2 Dialog box for image-sequence compression 3-5

Figure 3-3 Elements of the standard image-compression dialog box 3-7

Listing 3-1 Specifying a test image 3-9

Listing 3-2 Displaying the dialog box to the user and compressing an image 3-11

Listing 3-3 Defining a custom button in the dialog box 3-12

Listing 3-4 A sample hook function 3-12

Listing 3-5 Positioning related dialog boxes 3-13

Chapter 4 Image Compressor Components 4-1

Listing 4-1 Preparing for simple compression operations 4-12

Listing 4-2 Performing simple compression on a horizontal band of an image 4-13

Listing 4-3 Preparing for simple decompression 4-20

Listing 4-4 Performing a decompression operation 4-21

Chapter 5 Sequence Grabber Components 5-1

Figure 5-1 Relationships among your application, a sequence grabber component, and channel components 5-4

Listing 5-1 Initializing a sequence grabber component 5-11

Listing 5-2 Creating a sound channel and a video channel 5-12

Listing 5-3 Previewing sound and video sequences in a window 5-14

Listing 5-4 Capturing sound and video 5-18

Listing 5-5 Setting up the video bottleneck functions 5-19

Listing 5-6 Drawing information over video frames during capture 5-20

Figure 5-2 The effect of the SGSetCompressBuffer function 5-88

Chapter 6 Sequence Grabber Channel Components 6-1

Figure 6-1 Relationships of an application, a sequence grabber component, and channel components 6-4

Listing 6-1 Setting up global variables and implementing required functions 6-10

Listing 6-2 Initializing the sequence grabber channel component 6-15

Listing 6-3 Determining usage parameters and getting usage data 6-16

Listing 6-4 Managing spatial characteristics 6-17

Listing 6-5 Controlling previewing and recording operations 6-20

Listing 6-6 Coordinating devices for the channel component 6-24

Listing 6-7 Recording image data 6-25

Listing 6-8 Showing the tick count 6-28

Listing 6-9 Including a tick count checkbox in a dialog box in the panel component 6-29

Listing 6-10 Displaying channel settings 6-31

Chapter 7 Sequence Grabber Panel Components 7-1

Figure 7-1 Sequence grabbers, channel components, and panel components 7-5

Figure 7-2 A sample sequence grabber settings dialog box 7-6

Listing 7-1 Implementing the required functions 7-9

Listing 7-2 Managing the settings dialog box 7-12

Listing 7-3 Managing the settings for a panel component 7-13

Chapter 8 Video Digitizer Components 8-1

Figure 8-1 Basic tasks of a video digitizer 8-4

Figure 8-2 Video digitizer rectangles 8-6

Chapter 9 Movie Data Exchange Components 9-1

Figure 9-1 The Movie Toolbox, movie data import components, and your application 9-4

Figure 9-2 The Movie Toolbox, movie data export components, and your application 9-5

Listing 9-1 Implementing the required import functions 9-10

Listing 9-2 Importing a Scrapbook file 9-12

Listing 9-3 Implementing the required export functions 9-16

Listing 9-4 Exporting a frame of movie data to a PICS file 9-18

Chapter 10 Derived Media Handler Components 10-1

Figure 10-1 Logical relationships between the Movie Toolbox and media handlers 10-5

Figure 10-2 Relationship between the base media handler component and derived media handlers 10-6

Listing 10-1 Implementing the required functions 10-9

Listing 10-2 Initializing a derived media handler 10-13

Listing 10-3 Drawing the media sample 10-13

Chapter 11 Clock Components 11-1

Figure 11-1 Relationships of an application, the movie controller component, the Movie Toolbox, and a clock component 11-4

Chapter 12 Preview Components 12-1

Figure 12-1 Relationships of a preview component, the Image Compression Manager, and an application 12-5

Listing 12-1 Implementing the required Component Manager functions 12-7

Listing 12-2 Converting data into a form that can be displayed as a preview 12-9

Listing 12-3 The preview resource 12-14

Listing 12-4 The preview resource item structure 12-15


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help